package edu.sctu.nieyu.day20150608.collegeentranceexaminationsystem;

/**
 * Created by user01 on 2015/6/8.
 */
public class StudentInformationProcess {

    Student student1 = new StudentData().studentData().get(0);
    Student student2 = new StudentData().studentData().get(1);
    Student student3 = new StudentData().studentData().get(2);
    Student student[] = {student1,student2,student3};

    public void messageProcess(){

        for (int i = 0; i < student.length; i++) {

            if (student[i].isIs_admissionTicket()) {
                if (new StudentCheck(student[i]).identityCardCheck()) {
                    System.out.println("" + student[i].getName());

                }else {
                    System.out.println(student[i].getName()+"提交警察机关身份证明");
                }
            }
        }
    }
}
